<?php
include "connection.php";
$f1_1=$_GET['f1_1'];
//echo $f1_1;
$f1_2=$_GET['f1_2'];
//echo $f1_2;
$f1_3=$_GET['f1_3'];
//echo $f1_3;
$f1_4=$_GET['f1_4'];
//echo $f1_4;
$f1_5=$_GET['f1_5'];
//echo $f1_5;
$f1_6=$_GET['f1_6'];
//echo $f1_6;
$f2_1=$_GET['f2_1'];
//echo $f2_1;
$f2_2=$_GET['f2_2'];
//echo $f2_2;
$f2_3=$_GET['f2_3'];
//echo $f2_3;
$f2_4=$_GET['f2_4'];
//echo $f2_4;
$f2_5=$_GET['f2_5'];
//echo $f2_5;
$f2_6a=$_GET['f2_6a'];
//echo $f2_6a;
$f2_6b=$_GET['f2_6b'];
//echo $f2_6b;
$f3_1a=$_GET['f3_1a'];
//echo $f3_1a;
$f3_1b=$_GET['f3_1b'];
//echo $f3_1b;
$f3_211=$_GET['f3_211'];
//echo $f3_211;
$f3_212=$_GET['f3_212'];
//echo $f3_212;
$f3_213=$_GET['f3_213'];
//echo $f3_213;
$f3_214=$_GET['f3_214'];
//echo $f3_214;
$f3_215=$_GET['f3_215'];
//echo $f3_215;
$f3_221=$_GET['f3_221'];
//echo $f3_221;
$f3_222=$_GET['f3_222'];
//echo $f3_222;
$f3_223=$_GET['f3_223'];
//echo $f3_223;
$f3_224=$_GET['f3_224'];
//echo $f3_224;
$f3_225=$_GET['f3_225'];
//echo $f3_225;
$f3_231=$_GET['f3_231'];
//echo $f3_231;
$f3_232=$_GET['f3_232'];
//echo $f3_232;
$f3_233=$_GET['f3_233'];
//echo $f3_233;
$f3_234=$_GET['f3_234'];
//echo $f3_234;
$f3_235=$_GET['f3_235'];
//echo $f3_235;
$f3_3=$_GET['f3_3'];
//echo $f3_3;
$f3_4=$_GET['f3_4'];
//echo $f3_4;
$f3_5a=$_GET['f3_5a'];
//echo $f3_5a;
$f3_5b=$_GET['f3_5b'];
//echo $f3_5b;
$f3_5c=$_GET['f3_5c'];
//echo $f3_5c;
$f3_5d=$_GET['f3_5d'];
//echo $f3_5d;
$f4_1=$_GET['f4_1'];
//echo $f4_1;
$f4_2=$_GET['f4_2'];
//echo $f4_2;
$f4_3=$_GET['f4_3'];
//echo $f4_3;
$f4_4=$_GET['f4_4'];
//echo $f4_4;
$f4_5=$_GET['f4_5'];
//echo $f4_5;
$f4_6=$_GET['f4_6'];
//echo $f4_6;
$f4_7=$_GET['f4_7'];
//echo $f4_7;
$f4_8=$_GET['f4_8'];
//echo $f4_8;
$f4_9a=$_GET['f4_9a'];
//echo $f4_9a;
$f4_9b=$_GET['f4_9b'];
//echo $f4_9b;
$f4_9c=$_GET['f4_9c'];
//echo $f4_9c;
$f4_10=$_GET['f4_10'];
//echo $f4_10;
$f4_11a=$_GET['f4_11a'];
//echo $f4_11a;
$f4_11b=$_GET['f4_11b'];
//echo $f4_11b;
$f4_12a=$_GET['f4_12a'];
//echo $f4_12a;
$f4_12b=$_GET['f4_12b'];
//echo $f4_12b;
$f4_13=$_GET['f4_13'];
//echo $f4_13;
$f4_14a=$_GET['f4_14a'];
//echo $f4_14a;
$f4_14b=$_GET['f4_14b'];
//echo $f4_14b;
$f4_15=$_GET['f4_15'];
//echo $f4_15;
$f4_16=$_GET['f4_16'];
//echo $f4_16;
$f4_17=$_GET['f4_17'];
//echo $f4_17;
$f4_18=$_GET['f4_18'];
//echo $f4_18;
$f4_19a=$_GET['f4_19a'];
//echo $f4_19a;
$f4_19b=$_GET['f4_19b'];
//echo $f4_19b;
$f4_20a=$_GET['f4_20a'];
//echo $f4_20a;
$f4_20b=$_GET['f4_20b'];
//echo $f4_20b;
$f4_20c=$_GET['f4_20c'];
//echo $f4_20c;
$f4_20d=$_GET['f4_20d'];
//echo $f4_20d;



$f5_1=$_GET['f5_1'];
//echo $f5_1;
$f5_2=$_GET['f5_2'];
//echo $f5_2;
$f5_3=$_GET['f5_3'];
//echo $f5_3;
$f5_4=$_GET['f5_4'];
//echo $f5_4;
$f5_5a=$_GET['f5_5a'];
//echo $f5_5a;
$f5_5b=$_GET['f5_5b'];
//echo $f5_5b;
$f5_5c=$_GET['f5_5c'];
//echo $f5_5c;
$f5_5d=$_GET['f5_5d'];
//echo $f5_5d;
$f5_6=$_GET['f5_6'];
//echo $f5_6;
$f5_7a=$_GET['f5_7a'];
//echo $f5_7a;
$f5_7b=$_GET['f5_7b'];
//echo $f5_7b;

$f5_8=$_GET['f5_8'];
//echo $f5_8;
$f5_9a=$_GET['f5_9a'];
//echo $f5_9a;
$f5_9b=$_GET['f5_9b'];
//echo $f5_9b;
$f5_9c=$_GET['f5_9c'];
//echo $f5_9c;
$f5_9d=$_GET['f5_9d'];
//echo $f5_9d;
$f5_10=$_GET['f5_10'];
//echo $f5_10;
$f5_11=$_GET['f5_11'];
//echo $f5_11;
$f5_12=$_GET['f5_12'];
//echo $f5_12;
$f5_13a=$_GET['f5_13a'];
//echo $f5_13a;
$f5_13b=$_GET['f5_13b'];
//echo $f5_13b;
$f6_1=$_GET['f6_1'];
//echo $f6_1;
$f6_2=$_GET['f6_2'];
//echo $f6_2;
$f6_3=$_GET['f6_3'];
//echo $f6_3;
$f7_1=$_GET['f7_1'];
//echo $f7_1;
$f7_2=$_GET['f7_2'];
//echo $f7_2;
$f7_3=$_GET['f7_3'];
//echo $f7_3;
if(isset($_GET['f7_4']))
{
$f7_4=$_GET['f7_4'];
//echo $f7_4;
}
$f7_5=$_GET['f7_5'];
//echo $f7_5;
$f7_6=$_GET['f7_6'];
//echo $f7_6;
//error_reporting(E_ALL ^ E_NOTICE);



{
   
		   
		   
		   $result2 = mysql_query("INSERT INTO tanswer_pkuso1s_desa_pinter_pengelola_2010 (sd_1_1,sd_1_2,sd_1_3,sd_1_4,sd_1_5,sd_1_6,sd_2_1,sd_2_2,sd_2_3,sd_2_4,sd_2_5,sd_2_6a,sd_2_6b,sd_3_1a,sd_3_1b,sd_3_211,sd_3_212,sd_3_213,sd_3_214,sd_3_215,sd_3_221,sd_3_222,sd_3_223,sd_3_224,sd_3_225,sd_3_231,sd_3_232,sd_3_233,sd_3_234,sd_3_235,sd_3_3,sd_3_4,sd_3_5a,sd_3_5b,sd_3_5c,sd_3_5d,sd_4_1,sd_4_2,sd_4_3,sd_4_4,sd_4_5,sd_4_6,sd_4_7,sd_4_8,sd_4_9a,sd_4_9b,sd_4_9c,sd_4_10,sd_4_11a,sd_4_11b,sd_4_12a,sd_4_12b,sd_4_13,sd_4_14a,sd_4_14b,sd_4_15,sd_4_16,sd_4_17,sd_4_18,sd_4_19a,sd_4_19b,sd_4_20a,sd_4_20b,sd_4_20c,sd_4_20d,sd_5_1,sd_5_2,sd_5_3,sd_5_4,sd_5_5a,sd_5_5b,sd_5_5c,sd_5_5d,sd_5_6,sd_5_7a,sd_5_7b,sd_5_8,sd_5_9a,sd_5_9b,sd_5_9c,sd_5_9d,sd_5_10,sd_5_11,sd_5_12,sd_5_13a,sd_5_13b,sd_6_1,sd_6_2,sd_6_3,sd_7_1,sd_7_2,sd_7_3,sd_7_4,sd_7_5,sd_7_6, urlimage1, urlimage2) VALUES ('$f1_1','$f1_2','$f1_3','$f1_4','$f1_5','$f1_6','$f2_1','$f2_2','$f2_3','$f2_4','$f2_5','$f2_6a','$f2_6b','$f3_1a','$f3_1b','$f3_211','$f3_212','$f3_213','$f3_214','$f3_215','$f3_221','$f3_222','$f3_223','$f3_224','$f3_225','$f3_231','$f3_232','$f3_233','$f3_234','$f3_235','$f3_3','$f3_4','$f3_5a','$f3_5b','$f3_5c','$f3_5d','$f4_1','$f4_2','$f4_3','$f4_4','$f4_5','$f4_6','$f4_7','$f4_8','$f4_9a','$f4_9b','$f4_9c','$f4_10','$f4_11a','$f4_11b','$f4_12a','$f4_12b','$f4_13','$f4_14a','$f4_14b','$f4_15','$f4_16','$f4_17','$f4_18','$f4_19a','$f4_19b','$f4_20a','$f4_20b','$f4_20c','$f4_20d','$f5_1','$f5_2','$f5_3','$f5_4','$f5_5a','$f5_5b','$f5_5c','$f5_5d','$f5_6','$f5_7a','$f5_7b','$f5_8','$f5_9a','$f5_9b','$f5_9c','$f5_9d','$f5_10','$f5_11','$f5_12','$f5_13a','$f5_13b','$f6_1','$f6_2','$f6_3','$f7_1','$f7_2','$f7_3','$f7_4','$f7_5','$f7_6','$f7_6','$f7_6')");
			if($result2)
			{
				$response["code"]="1";
				$response["msg"] = "posted successfully";
echo json_encode($response);
			} 
			else
			{
			echo mysql_error();
				$response["code"]="0";
				$response["msg"] = "Not posted successfully";
echo json_encode($response);
			}
}
?>